package ynu.edu.domain.dto;

import lombok.Data;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * Img2Img参数类 - 用于替代Map存储参数
 */
@Data
public class Img2ImgParameters {
    
    // 提示词相关
    private String prompt;
    private String negativePrompt;
    private Long seed;
    
    // 尺寸相关
    private Integer width;
    private Integer height;
    
    // 生成参数
    private Integer steps;
    private String samplerName;
    private String scheduler;
    private BigDecimal cfgScale;
    private Integer batchSize;
    private BigDecimal denoisingStrength;
    
    // 高级参数
    private Boolean restoreFaces;
    private Boolean tiling;
    private Boolean enableHr;
    private BigDecimal hrScale;
    private String hrUpscaler;
    private Integer hrSecondPassSteps;
    
    // 模型覆盖设置
    private Map<String, String> overrideSettings;
    
    // ControlNet单元
    private List<ControlNetUnit> controlnetUnits;
} 